<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 300px;
            height: 200px;
            border: 15px solid pink;
            border-image-source: url('./images/border.jpg');
            /* 这个属性的值不需要加px  */
            border-image-slice: 165 165 165 165;
            border-image-repeat: round;
            border-image-width: 50px;
        }
    </style>
</head>
<body>
    <div class="box">abcd</div>
</body>
</html>